package com.leyou.information.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.leyou.information.UserInformation;
import org.apache.ibatis.annotations.Select;

public interface InformationMapper extends BaseMapper<UserInformation> {
    @Select("select * from tb_user_information where user_id=#{userId}")
    UserInformation findUserInformationByUserId(Long userId);

    @Select("select * from tb_user_information where user_id=#{userId}")
    UserInformation findUserInformation(Long userId);
}
